package com.ruoyi.project.pay.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 支付配置对象 pay_config
 * 
 * @author wyh
 * @date 2024-06-27
 */
public class PayConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** appid */
    @Excel(name = "appid")
    private String appid;

    /** appSecret */
    @Excel(name = "appSecret")
    private String appSecret;

    /** 商户号 */
    @Excel(name = "商户号")
    private String mchId;

    /** p12证书 */
    @Excel(name = "p12证书")
    private String certPath;

    /** 支付密匙 */
    @Excel(name = "支付密匙")
    private String certPassword;

    /** apiclient_cert */
    @Excel(name = "apiclient_cert")
    private String apiclientCertPath;

    /** apiclient_key */
    @Excel(name = "apiclient_key")
    private String apiclientKeyPath;

    /** 支付回调域名 */
    @Excel(name = "支付回调域名")
    private String notifyPayDomain;

    /** 退款回调域名 */
    @Excel(name = "退款回调域名")
    private String notifyRefoundDomain;

    /** AuthorizationCode */
    @Excel(name = "AuthorizationCode")
    private String authorizationCode;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 支付版本 */
    @Excel(name = "支付版本")
    private String payVersion;

    /** appPrivateKey */
    @Excel(name = "appPrivateKey")
    private String appPrivateKey;

    /** alipayPublicKey */
    @Excel(name = "alipayPublicKey")
    private String alipayPublicKey;

    /** 默认 */
    @Excel(name = "默认")
    private String isDefault;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setAppSecret(String appSecret) 
    {
        this.appSecret = appSecret;
    }

    public String getAppSecret() 
    {
        return appSecret;
    }
    public void setMchId(String mchId) 
    {
        this.mchId = mchId;
    }

    public String getMchId() 
    {
        return mchId;
    }
    public void setCertPath(String certPath) 
    {
        this.certPath = certPath;
    }

    public String getCertPath() 
    {
        return certPath;
    }
    public void setCertPassword(String certPassword) 
    {
        this.certPassword = certPassword;
    }

    public String getCertPassword() 
    {
        return certPassword;
    }
    public void setApiclientCertPath(String apiclientCertPath) 
    {
        this.apiclientCertPath = apiclientCertPath;
    }

    public String getApiclientCertPath() 
    {
        return apiclientCertPath;
    }
    public void setApiclientKeyPath(String apiclientKeyPath) 
    {
        this.apiclientKeyPath = apiclientKeyPath;
    }

    public String getApiclientKeyPath() 
    {
        return apiclientKeyPath;
    }
    public void setNotifyPayDomain(String notifyPayDomain) 
    {
        this.notifyPayDomain = notifyPayDomain;
    }

    public String getNotifyPayDomain() 
    {
        return notifyPayDomain;
    }
    public void setNotifyRefoundDomain(String notifyRefoundDomain) 
    {
        this.notifyRefoundDomain = notifyRefoundDomain;
    }

    public String getNotifyRefoundDomain() 
    {
        return notifyRefoundDomain;
    }
    public void setAuthorizationCode(String authorizationCode) 
    {
        this.authorizationCode = authorizationCode;
    }

    public String getAuthorizationCode() 
    {
        return authorizationCode;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPayVersion(String payVersion) 
    {
        this.payVersion = payVersion;
    }

    public String getPayVersion() 
    {
        return payVersion;
    }
    public void setAppPrivateKey(String appPrivateKey) 
    {
        this.appPrivateKey = appPrivateKey;
    }

    public String getAppPrivateKey() 
    {
        return appPrivateKey;
    }
    public void setAlipayPublicKey(String alipayPublicKey) 
    {
        this.alipayPublicKey = alipayPublicKey;
    }

    public String getAlipayPublicKey() 
    {
        return alipayPublicKey;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("appid", getAppid())
            .append("appSecret", getAppSecret())
            .append("mchId", getMchId())
            .append("certPath", getCertPath())
            .append("certPassword", getCertPassword())
            .append("apiclientCertPath", getApiclientCertPath())
            .append("apiclientKeyPath", getApiclientKeyPath())
            .append("notifyPayDomain", getNotifyPayDomain())
            .append("notifyRefoundDomain", getNotifyRefoundDomain())
            .append("authorizationCode", getAuthorizationCode())
            .append("type", getType())
            .append("status", getStatus())
            .append("payVersion", getPayVersion())
            .append("appPrivateKey", getAppPrivateKey())
            .append("alipayPublicKey", getAlipayPublicKey())
            .append("isDefault", getIsDefault())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
